<div>NavigationAdmin

<form action="" method="post">
<input type="hidden" name="a" value="navigation_save" />
<input type="hidden" name="id" value="{$nedit->id}" />

<table>
<tr>
	<th>Name</th>
	<th>Url</th>
	<th>Parent</th>
	<th>Type</th>
	<th>Highlight</th>
	<th>Target</th>
	<th>Save</th>
</tr>

<tr>
	<td><input type="text" name="name" value="{$nedit->name}" /></td>
	<td><input type="text" name="url" value="{$nedit->url}" /></td>
	<td>{html_options name=parent_id options=$parents selected=$nedit->parent_id}</td>
	<td><input type="text" name="type" value="{$nedit->type}" /></td>
	<td><input type="checkbox" name="highlight" value="1"{if $nedit->highlight==='1'} checked="checked"{/if} /></td>
	<td>{html_options name=target options=$target selected=$n.target}</td>
	<td><input type="submit" name="saveNavigation" value="save" /></td>
	<!--
				if ($_POST['sort'] !== NULL)			$nav->sort			=& $_POST['sort'];
				if ($_POST['template_id'] !== NULL) 	$nav->template_id	=& $_POST['template_id'];
				if ($_POST['layout_id'] !== NULL)		$nav->layout_id		=& $_POST['layout_id'];
				if ($_POST['description'] !== NULL)		$nav->description	=& $_POST['description'];
				if ($_POST['navigation_id'] !== NULL)	$nav->navigation_id	=& $_POST['navigation_id'];
	 -->
</tr>

</table>
</form>

</div>
